package edu.sdjzu.exam.service.question;

import edu.sdjzu.exam.dto.QuestionCreateDTO;

import edu.sdjzu.exam.dto.QuestionDTO;
import edu.sdjzu.exam.dto.QuestionUpdateDTO;

import java.util.List;

public interface QuestionService {
    Long createQuestion(QuestionCreateDTO createDTO);
    QuestionDTO getQuestion(Long questionId);
    void updateQuestion(QuestionUpdateDTO updateDTO);
    void deleteQuestion(Long questionId);
    List<QuestionDTO> listQuestionsByCreator();
    List<QuestionDTO> listQuestionsByCourse(Long courseId);
}
